package com.yfl;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;

@SpringBootApplication
@EnableDubbo
@MapperScan(basePackages = {"com.yfl.mapper"})
@EnableCaching // 开启缓存
public class LiveServiceApp {
    public static void main(String[] args) {
        SpringApplication.run(LiveServiceApp.class, args);
        System.out.println("服务提供者启动成功");
    }
}
